package com.ruoyi.project.dict.jieshi.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Date;

/**
 * 词语解释(用户)对象 ci_jieshi
 *
 * @author shixiangwen
 * @date 2020-10-20
 */
public class CiJieshi extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 词语
     */
    @Excel(name = "词语")
    private String ci;

    /**
     * 解释
     */
    @Excel(name = "解释")
    private String content;

    /**
     * 用户ID
     */
    @Excel(name = "用户ID")
    private Long kkid;

    /**
     * 提交时间
     */
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /**
     * 点赞数
     */
    @Excel(name = "点赞数")
    private Long praise;

    private String table;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }

    public void setCi(String ci) {
        this.ci = ci;
    }

    public String getCi() {
        return ci;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContent() {
        return content;
    }

    public void setKkid(Long kkid) {
        this.kkid = kkid;
    }

    public Long getKkid() {
        return kkid;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setPraise(Long praise) {
        this.praise = praise;
    }

    public Long getPraise() {
        return praise;
    }

    public String getTable() {
        return table;
    }

    public void setTable(String table) {
        this.table = table;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("ci", getCi())
                .append("content", getContent())
                .append("kkid", getKkid())
                .append("createdTime", getCreatedTime())
                .append("praise", getPraise())
                .toString();
    }
}
